package com.gxar.quick.ar.server.base.model.exchange.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/2/20 10:18
 */
@ApiModel("兑换品模板视图")
@Data
public class ExchangeItemTemplateVO {

    @ApiModelProperty("作品ID")
    @JSONField(name = "works_id")
    @JsonProperty("works_id")
    private String worksId;

    @ApiModelProperty("作品名称")
    @JSONField(name = "works_name")
    @JsonProperty("works_name")
    private String worksName;

    @ApiModelProperty("识别图")
    @JSONField(name = "identify")
    @JsonProperty("identify")
    private String identify;

    @ApiModelProperty("内容信息")
    @JSONField(name = "shows")
    @JsonProperty("shows")
    @NotBlank(message = "请上传作品内容")
    private String content;

    @ApiModelProperty("是否已选择")
    @JSONField(name = "checked")
    @JsonProperty("checked")
    private Boolean checked;

    /**
     * 识别图大小。单位：字节（KB）
     */
    @ApiModelProperty(hidden = true)
    private Long identifySize;
    /**
     * 视频大小。单位：字节（KB）
     */
    @ApiModelProperty(hidden = true)
    private Long videoSize;
    /**
     * 3D模型大小。单位：字节（KB）
     */
    @ApiModelProperty(hidden = true)
    private Long u3dModelSize;
}
